/*
 * @Author: rxn 1003312535@qq.com
 * @Date: 2024-12-24 19:40:14
 * @LastEditors: rxn 1003312535@qq.com
 * @LastEditTime: 2024-12-24 19:51:07
 * @FilePath: \vue3-progect\src\api\login\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/**
 * 登录页面-API接口
 */
import request from "@/axios";

export const loginApi = (data) => {
	return request({
		url: "/api/user/login",
		method: "post",
		data
	});
};
